<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>药店列表</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  	<link rel="stylesheet" type="text/css" href="<%=path%>/easyui/themes/icon.css">
  	<script type="text/javascript" src="<%=path%>/easyui/jquery-1.8.2.min.js"></script>
  	<script type="text/javascript" src="<%=path%>/easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="<%=path%>/easyui/sys.js"></script>
    <script type="text/javascript" src="<%=path%>/easyui/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="<%=path%>/js/jquery-form.js"></script>
  
</head>
  
  <body>
    <!-- 头部 -->
	  	<div style=" background-color:#DDDDDD ;  text-align: center; color:#696969 ; height:50px " >
	  		<P align=center>
	  			<font size="+2" style="line-height:42px;" >药房管理页面</font><br>
	  		</P>
	  	</div>
	    <table  border="1" cellspacing="0" cellpadding="0" style="text-align: center;" width="100%" height="50%">
			<tr>
				<td>单位ID :</td>
				<td>排序  : </td>
				<td>上级单位ID  : </td>
				<td>所有上级单位的ID英文逗号分隔  : </td>
				<td>简称 : </td>
				<td>全称 :  </td>
				<td>启用日期  :  </td>
				<td>停用日期  : </td>
				<td>注册码  : </td>
				<td>统一社会信用代码  : </td>
				<td>联系人  : </td>
				<td>联系电话  : </td>
				<td>联系地址 : </td>
				<td>户名: </td>
				<td>开户行 : </td>
				<td>银行账号: </td>
				<td>注册地址: </td>
				<td>电话: </td>
				<td>法人: </td>
				<td>操作人: </td>
				<td>操作日期: </td>
				<td>审核人: </td>
				<td>审核日期: </td>
				<td>备注: </td>
				<td>
					操作<br>
					<a id="add1" onclick="add()" href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-add'">添加药房</a>  
				</td>
			</tr>
			<c:forEach items="${Unit_info}" var="li">
				<tr>
					<td>${li.unit_id}</td>
					<td>${li.num}</td>
					<td>${li.higher_unit_id}</td>
					<td>${li.higher_unit_ids}</td>
					<td>${li.short_name}</td>
					<td>${li.full_name}</td>
					<td>${li.start_date}</td>
					<td>${li.end_date}</td>
					<td>${li.licence_key}</td>
					<td>${li.unified_social_credit_code}</td>
					<td>${li.contact_person}</td>
					<td>${li.contact_phone}</td>
					<td>${li.contact_address}</td>
					<td>${li.account_name}</td>
					<td>${li.bank_name}</td>
					<td>${li.bank_no}</td>
					<td>${li.regist_address}</td>
					<td>${li.phone}</td>
					<td>${li.artificial_name}</td>
					<td>${li.handle}</td>
					<td>${li.handle_date}</td>
					<td>${li.examine}</td>
					<td>${li.examine_date}</td>
					<td>${li.tips}</td>
					<td>
						<a id="update1" onclick="update(${li.unit_id})" href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-add'">修改药房</a> 
						<a id="del1" onclick="del(${li.unit_id})" href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-no'">删除此药房</a> 
					</td> 
				</tr>
			</c:forEach>
	    </table>
  </body>
</html>
